package cn.wu.am.dao;

import cn.wu.am.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {

    int addComment(Comment comment);

    List<Comment> getAllByArticleId(Integer articleId);

    int deleteAllByArticleId(Integer articleId);
}
